package ysq.xyg.recovery.service;

import ysq.xyg.base.model.dto.ReturnEntity;
import ysq.xyg.base.service.BaseService;
import ysq.xyg.recovery.model.po.RecoverySackDetail;
import ysq.xyg.sys.model.po.SysUser;
import ysq.xyg.recovery.model.vo.RecoverySackDetailVo;

import java.util.List;

/**
 * 回收金模块-袋子详情表service接口
 *
 * @author congcong tao
 * @date 2019-7-3 20:51:03
 */
public interface RecoverySackDetailService extends BaseService<RecoverySackDetail> {

    /**
     * 分页查询
     *
     * @param recoverySackDetailVo 对象
     * @param pageSize 当前页面
     * @param pageNum 页面数量
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-7-3 20:51:03
     */
    ReturnEntity page(RecoverySackDetailVo recoverySackDetailVo, int pageSize, int pageNum);

    /**
     * 修改
     *
     * @param recoverySackDetailVo 对象
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-7-3 20:51:03
     */
    ReturnEntity addOrUpdate(RecoverySackDetailVo recoverySackDetailVo, SysUser currentUser);

    /**
     * 删除
     *
     * @param id 主键id删除
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author congcong tao
     * @date 2019-7-3 20:51:03
     */
    ReturnEntity delete(String id, SysUser currentUser);

    /**
     * 获取集合
     *
     * @param recoverySackDetailVo 对象
     * @return List<RecoverySackDetail> RecoverySackDetail集合
     * @author congcong tao
     * @date 2019-7-3 20:51:03
     */
    List<RecoverySackDetail> acceptList(RecoverySackDetailVo recoverySackDetailVo);
}
